This report uses the tidyverse package along with the beetle_data dataset, which has columns including:
You can insert line breaks like this.
and they should work.
You can define paragraphs like this:
This is the topic sentence of my paragraph. Now I move to my second sentence which is on topic but a bit more specific.
Let’s start a new paragraph. This is a short one.
If you don’t like using paragraphs, you can just use line breaks
and get a similar effect.
You can embed an R code chunk like this:
## counts Tmax dist_to_edge
## Min. : 1.00 Min. :23.29 Min. : 1.229
## 1st Qu.: 7.25 1st Qu.:26.95 1st Qu.: 47.683
## Median :12.00 Median :28.22 Median :101.816
## Mean :13.47 Mean :28.15 Mean :100.816
## 3rd Qu.:17.75 3rd Qu.:29.26 3rd Qu.:147.201
## Max. :40.00 Max. :31.88 Max. :198.556
You can suppress the R code being printed in the HTML like this:
## counts Tmax dist_to_edge
## Min. : 1.00 Min. :23.29 Min. : 1.229
## 1st Qu.: 7.25 1st Qu.:26.95 1st Qu.: 47.683
## Median :12.00 Median :28.22 Median :101.816
## Mean :13.47 Mean :28.15 Mean :100.816
## 3rd Qu.:17.75 3rd Qu.:29.26 3rd Qu.:147.201
## Max. :40.00 Max. :31.88 Max. :198.556
You can suppress the summary being printed in the HTML like this:
To include a nice grey line between sections, just use:
You can embed plots, for example:
You can specify the size and justification of r plots like this, as well as add a caption:
Figure 1: Here is the same plot with solid salmon points.
Add another image, this time not centered.
| counts | Tmax | dist_to_edge |
|---|---|---|
| 3 | 30.11922 | 62.687955 |
| 12 | 26.08759 | 27.499806 |
| 8 | 26.07227 | 1.229062 |
| 18 | 29.41769 | 191.264251 |
| 7 | 26.13884 | 80.816164 |
| 9 | 27.88800 | 93.766413 |
\(t = \frac{m - \mu}{s /\sqrt n}\)
\(m\) is the sample mean;
\(\mu\) is the “population” mean (a
hypothetical value that you’re testing against);
\(s\) is the standard deviation;
\(n\) is the sample size.
Add citation here (R-base?)